﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title></title>
        <script src="../Content/scripts/jquery-1.11.1.min.js"></script>
        <script src="../Content/scripts/bootstrap/bootstrap.min.js"></script>
        <link href="../Content/scripts/plugins/jquery-ui/jquery-ui.min.css" rel="stylesheet" />
        <script src="../Content/scripts/plugins/jquery-ui/jquery-ui.min.js"></script>
        <!-- Bootstrap -->
        <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css" />
        <link href="../Content/styles/font-awesome.min.css" rel="stylesheet" />
        <link href="../Content/adminLTE/css/index.css" rel="stylesheet" />
        <link href="../Content/scripts/plugins/jqgrid/jqgrid.css" rel="stylesheet" />
        <link rel="Shortcut icon" href="../images/favicon.ico" />
        <link href="../Content/styles/learun-ui.css" rel="stylesheet" />
        <script src="../Content/scripts/plugins/layout/jquery.layout.js"></script>
        <script src="../Content/scripts/plugins/dialog/dialog.js"></script>
        <script src="../Content/scripts/plugins/jqgrid/grid.locale-cn.js"></script>
        <script src="../Content/scripts/plugins/jqgrid/jqgrid.min.js"></script>
        <script src="../Content/scripts/plugins/validator/validator.js"></script>
        <script src="../Content/scripts/utils/learun-ui.js"></script>
        <script src="../Content/scripts/utils/learun-form.js"></script>
        <script src="../My97DatePicker/WdatePicker.js"></script>
        <style>
            html, body {
                height: 100%;
                width: 100%;
            }
        </style>
    </head>
    <body>
        <div style="margin-left: 10px; margin-top: 20px; margin-right: 30px;">
            <table class="form" id="weishaaddinfo" style="margin-top:10px;">
                <tr>
                    <th class="formTitle">尾纱机类型<font face="宋体">*</font></th>
                    <td class="formValue" colspan="3">
                        <input id="CustomName" type="text" class="form-control" placeholder="请输入尾纱机类型" isvalid="yes" checkexpession="NotNull" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle" valign="top" style="padding-top: 4px;">
                        类型描述
                    </th>
                    <td class="formValue" colspan="3">
                        <textarea id="CustomAddress" class="form-control" style="height: 150px;"></textarea>
                    </td>
                </tr>

            </table>
        </div>

        <script src="EquInfoJS.js"></script>
        <script>

            // 保存表单
            function AcceptClick(grid) {
                if (!$('#weishaaddinfo').Validform()) {
                    return false;
                }

                var EquTypeName = $('#EquTypeName').val();
                var EquTypeRemark = $('#EquTypeRemark').val();

                $.equinfojs.saveEquType(EquTypeName, EquTypeRemark, 2,grid);
                //$.rolejs.saveRoleInfo(RoleName, CustomName, Remark, selectid);
            }
        </script>

    </body>
</html>

